﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HA.Data
{
    public  class FOCollecionChangedEventArgs:EventArgs
    {
        //public FOCollecionChangedEventArgs(ConceptualModel cm, Coverage c, FeatureObject fo, CollectionChangedType type)
        //{
        //    this._concetualModel = cm;
        //    this._coverage = c;

        //    this._foModified = fo;

        //    this._type = type;

        //}

        public FOCollecionChangedEventArgs(ConceptualModel cm, Coverage c, List<FeatureObject> foes, CollectionChangedType type)
        {
            this._concetualModel = cm;
            this._coverage = c;

            this._foesModified = foes;

            this._type = type;

        }


        ConceptualModel _concetualModel;

        public ConceptualModel ConcetualModel
        {
            get { return _concetualModel; }
            set { _concetualModel = value; }
        }



        Coverage _coverage;

        public Coverage Coverage
        {
            get { return _coverage; }
            set { _coverage = value; }
        }

        List<FeatureObject> _foesModified;
        /// <summary>
        /// 集合
        /// </summary>
        public List<FeatureObject> FoesModified
        {
            get { return _foesModified; }
            set { _foesModified = value; }
        }

        CollectionChangedType _type;

        public CollectionChangedType Type
        {
            get { return _type; }
            set { _type = value; }
        }
       

    }
}
